package a.b.c;

import android.content.Context;
import android.widget.Toast;

import javax.inject.Inject;

/**
 * LoginPresenter
 * create by duxl 2020/8/12
 */
public class LoginPresenter {

    ICommonView iView;


    @Inject
    public LoginPresenter(ICommonView iView) {
        this.iView = iView;
        System.out.println("duxl---:: LoginPresenter.init");
    }

    public void login(User user) {
        Context context = iView.getContext();
        Toast.makeText(context, "登录……", Toast.LENGTH_SHORT).show();
    }
}
